package com.yunxi.order.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 业务针对主机厂
 * 订单修改审批申请主数据查询
 */
@Data
@ApiModel(value="订单修改审批申请主数据查询响应", description="订单修改审批申请主数据查询响应")
public class OrderApproveRespVO implements Serializable {
    @ApiModelProperty(value = "订货单号")
    private String orderCarId;
    @ApiModelProperty(value = "订单状态")
    private String orderStatus;
    @ApiModelProperty(value = "审核状态")
    private String checkStatus;
    @ApiModelProperty(value = "渠道商名称")
    private String partnerName;
    @ApiModelProperty(value = "车系名称")
    private String seriesName;
    @ApiModelProperty(value = "车型名称")
    private String modelName;
    @ApiModelProperty(value = "配置")
    private String catalogName;
    @ApiModelProperty(value = "内饰颜色")
    private String colorNameIn;
    @ApiModelProperty(value = "外饰颜色")
    private String colorNameOut;
    @ApiModelProperty(value = "付款方式")
    private String payway;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "创建日期")
    private Date createDate;

    @ApiModelProperty(value = "收货人")
    private String linkman;
    @ApiModelProperty(value = "联系电话")
    private String linkphone;
    @ApiModelProperty(value = "收货地址")
    private String addr;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "申请日期")
    private Date applyDate;

    @ApiModelProperty(value = "申请人")
    private String applyBy;
    @ApiModelProperty(value = "修改申请单号")
    private String orderEditId;
    @ApiModelProperty(value = "审核人")
    private String auditBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonDeserialize(using=DateJsonDeserializer.class)
    @ApiModelProperty(value = "审核日期")
    private Date auditDate;

    @ApiModelProperty(value = "驳回原因")
    private String rejectInfo;

    @ApiModelProperty(value = "选装包")
    private String packName;
}
